package nc.ui.acm.acc.interestcal;

import nc.itf.acm.pub.ACMBillType;
import nc.itf.acm.pub.IPrivateButton;
import nc.ui.acm.flu.pub.ButtonTools;
import nc.ui.trade.bill.AbstractManageController;
import nc.ui.trade.businessaction.IBusinessActionType;
import nc.ui.trade.button.IBillButton;
import nc.vo.acm.acc.interestcal.InterestcalBVO;
import nc.vo.acm.acc.interestcal.InterestcalVO;
import nc.vo.pub.BusinessException;
import nc.vo.trade.pub.HYBillVO;

public class InterestcalCtrl extends AbstractManageController {

	public InterestcalCtrl() {
		super();
	}

	public String[] getCardBodyHideCol() {
		return null;
	}

	public int[] getCardButtonAry() {
		int[] btns=new int[]{IBillButton.Query,IBillButton.Add,IPrivateButton.INTERESTCAL,IBillButton.Save,IBillButton.Cancel,IBillButton.Delete,IBillButton.Return,IPrivateButton.MAKEWAY};
		int[] res = btns;
		try {
			res = ButtonTools.getFluButtonsCode(getBillType(), btns);
		} catch (BusinessException e) {
			e.printStackTrace();
		}
		return res;
	}

	public boolean isShowCardRowNo() {
		return true;
	}

	public boolean isShowCardTotal() {
		return true;
	}

	public String getBillType() {
		return ACMBillType.INTERESTCAL;
	}

	public String[] getBillVoName() {
		return new String[]{HYBillVO.class.getName(),InterestcalVO.class.getName(),InterestcalBVO.class.getName()};
	}

	public String getBodyCondition() {
		return null;
	}

	public String getBodyZYXKey() {
		return null;
	}

	public int getBusinessActionType() {
		return IBusinessActionType.PLATFORM;
	}

	public String getChildPkField() {
		return null;
	}

	public String getHeadZYXKey() {
		return null;
	}

	public String getPkField() {
		return null;
	}

	public Boolean isEditInGoing() throws Exception {
		return null;
	}

	public boolean isExistBillStatus() {
		return true;
	}

	public boolean isLoadCardFormula() {
		return true;
	}

	public String[] getListBodyHideCol() {
		return null;
	}

	public int[] getListButtonAry() {
		return new int[]{IBillButton.Query,IBillButton.Add,IBillButton.Save,IBillButton.Cancel,IBillButton.Delete,IBillButton.Card,IPrivateButton.MAKEWAY};
	}

	public String[] getListHeadHideCol() {
		return null;
	}

	public boolean isShowListRowNo() {
		return true;
	}

	public boolean isShowListTotal() {
		return true;
	}

}
